// camera controls

void init_camera()
{
        pinMode(CAM_SHUTTER, OUTPUT);
        pinMode(CAM_WAKEFLASH_1, OUTPUT); 
        pinMode(CAM_WAKEFLASH_2, OUTPUT); 

}

void camera_shutter()
{
	// fire the camera shutter via relay...1/4 sec hold time
	digitalWrite(CAM_SHUTTER, HIGH);
	delay(500);
	digitalWrite(CAM_SHUTTER, LOW);

}


void wakeflash()
{
	// wake up the flashes
	digitalWrite(CAM_WAKEFLASH_1, HIGH);
        digitalWrite(CAM_WAKEFLASH_2, HIGH);
	delay(500);
	digitalWrite(CAM_WAKEFLASH_1, LOW);
        digitalWrite(CAM_WAKEFLASH_2, LOW);

}


